class PageController < ApplicationController

  def home
    @titre = "Home"
    @question_jour = Question.find_by_dateAffichage(Date.today)
    @question_hier = Question.find_by_dateAffichage(Date.yesterday)
  end

  def contact
    @title = "Contact"
  end

  def about
    @title = "About"
  end

end
